package com.life.wd.dto;

import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.math.BigDecimal;

@Data
public class GoodsUpdateRequest {
    private Long id; // 必须提供商品ID
    
    private String title;
    private String desc;
    private String content;
    
    private MultipartFile imageFile; // 可选，上传新图片则替换原有图片
    
    private Double price;
    private Long goodsId; // 关联的产品ID
}